package org.example.com.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.example.com.Bean.ShoppingCart;
import org.example.com.util.JsonResult;
import org.springframework.stereotype.Service;

@Service
public interface ShoppingCartService extends IService<ShoppingCart> {
    JsonResult add(String bookId, String token);
    JsonResult find(String token);
    JsonResult changeCartNumber(String token, String bookId,int number);
    JsonResult changeCartNumber2(String token, String bookId,int number);
    JsonResult removeCartById(String token, String bookId);
    JsonResult batchRemoveCate(String token, String [] ids);

}
